package com.third.share;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;

import com.third.login.ThirdLoginPlatform;

public abstract class ThirdShareBase {
		protected Activity mActivity;
		protected ThirdLoginPlatform mPlatform;
		protected ThirdShareListener mThirdShareListener;
	    public ThirdShareBase(Activity act){
	    	mActivity = act;
	    }
		protected void init(){
			mPlatform = ThirdLoginPlatform.QQ;
		}
		public void setThirdShareListener(ThirdShareListener listener){
			mThirdShareListener = listener;
		}
		public abstract void onResume();
		public abstract void onActivityResult(int requestCode, int resultCode, Intent data);
		public abstract void onDestroy();
	    public abstract void thirdShare(ShareData shareData);
	    public abstract void cancelShare();
}
